package it.uniroma2.art.coda.interfaces;

import it.uniroma2.art.coda.projectionrule.ProjectionRulesModel;

/**
 * This abstract class is the general Extension used in CODA
 * @author Andrea Turbati
 *
 */
public abstract class CODAExtensionInterface{

	protected String id;
	
	protected String description;
	
	protected ProjectionRulesModel prModel;
	
	
	public CODAExtensionInterface(String id, String description){
		this.id = id;
		this.description = description;
	
	}
	
	/**
	 * This method return the id of the module
	 * @return the id of the module
	 */
	public String getId(){
		return id;
	}
	
	/**
	 * Set the description of the module
	 * @param description the description of the module
	 */
	public void setDescription(String description){
		this.description = description;
	}
	
	/**
	 * Get the description of the module
	 * @return the description of the module
	 */
	public String getDescription(){
		return description;
	}
	
	/**
	 * Set the Projection Rule Model for the module
	 * @param prModel the Projection Rule Model
	 */
	public void setProjectionRuleModel(ProjectionRulesModel prModel){
		this.prModel = prModel;
	}
	
	/**
	 * Get the Projection Rule Model
	 * @return the Projection Rule Model
	 */
	public ProjectionRulesModel getPRModel() {
		return prModel;
	}
	
}
